//
//  oldComment.m
//  laonianbang
//
//  Created by 勇拓 李 on 18/4/2.
//  Copyright © 2018年 zaiyou. All rights reserved.
//

#import "oldComment.h"

@implementation oldComment

- (instancetype)initWithDictionary:(NSDictionary *)dictionary
{
    self = [super initWithDictionary:dictionary];
    if (dictionary[@"replyUserInfo"] && ![dictionary[@"replyUserInfo"] isKindOfClass:[NSNull class]]) {
        self.replyUserInfo = [[oldReplyUserInfo alloc] initWithDictionary:dictionary[@"replyUserInfo"]];
    }
    if (dictionary[@"mentionedUserInfo"] && ![dictionary[@"mentionedUserInfo"] isKindOfClass:[NSNull class]]) {
        self.mentionedUserInfo = [[oldReplyUserInfo alloc] initWithDictionary:dictionary[@"mentionedUserInfo"]];
    }
    
    return self;
}

@end

@implementation oldReplyUserInfo

@end
